@font-size-base: 12px;
.ant-input {
    font-size: @font-size-base;
}
.ant-form label {
    font-size: @font-size-base;
}
.ant-menu-vertical .ant-menu-item,
.ant-menu-vertical-left .ant-menu-item,
.ant-menu-vertical-right .ant-menu-item,
.ant-menu-inline .ant-menu-item,
.ant-menu-vertical .ant-menu-submenu-title,
.ant-menu-vertical-left .ant-menu-submenu-title,
.ant-menu-vertical-right .ant-menu-submenu-title,
.ant-menu-inline .ant-menu-submenu-title {
    font-size: @font-size-base;
}
.ant-calendar-picker-container {
    z-index: 1003;
}

.base-table {
    .ant-table {
        .ant-table-thead {
            tr th {
                background-color: #f3f2f7;
                padding: 8px;
                border-top: 1px solid #d8dae2;
                font-family:
                    PingFangSC,
                    PingFang SC;
                font-weight: 400;
                font-size: 12px;
                color: #1a1c2a;
                border-right: 1px solid #b6bac9;

                .ant-table-column-title {
                    color: #1a1c2a;
                }

                &:first-child {
                    border-left: 1px solid #d8dae2;
                }

                &:last-child {
                    border-right: 1px solid #d8dae2;
                }
            }
        }

        .ant-table-tbody {
            tr td {
                padding: 8px;

                &:first-child {
                    border-left: 1px solid #d8dae2 !important;
                }

                &:last-child {
                    border-right: 1px solid #d8dae2 !important;
                }
            }
        }

        .operation-link {
            color: #3e84e9;
        }
    }

    .ant-table-pagination.ant-pagination {
        right: 10px;
    }

    .ant-table-wrapper .ant-table-container table > thead > tr:first-child > *:last-child {
        border-top: 1px solid #d8dae2 !important;
    }

    .ant-pagination .ant-pagination-item-active {
        border-radius: 2px;
    }

    .ant-pagination .ant-pagination-item {
        margin-right: 4px;
    }

    .ant-pagination .ant-pagination-item:not(.ant-pagination-item-active):hover {
        border-radius: 2px;
    }
}

.base-modal {
    .ant-table-wrapper {
        .ant-table-container {
            margin: 0 20px !important;
        }

        .ant-table-pagination.ant-pagination {
            margin: 10px 10px !important;
        }
    }

    .ant-modal-content {
        border-radius: 0 !important;
        padding: 0 !important;

        .ant-modal-close {
            top: 0px !important;

            .ant-modal-close-x {
                font-size: 12px !important;
            }
        }
    }

    .ant-modal-header {
        height: 32px !important;
        background: #f3f2f7 !important;
        margin-bottom: 20px !important;
    }

    .ant-modal-title {
        font-size: 14px !important;
        line-height: 32px !important;
    }

    .ant-modal-body {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .ant-modal-footer {
        display: flex !important;
        height: 50px !important;
        justify-content: flex-end !important;
        align-items: center !important;
        border-top: 1px solid #d8dae2 !important;
        padding-right: 10px !important;

        .ant-btn {
            font-size: 12px !important;
            height: 26px !important;
            border-radius: 2px !important;
        }
    }
}

.ant-select-dropdown {
    z-index: 1004;
}

.ant-table-wrapper .ant-table .ant-table-header {
    border-radius: 0px !important;
}

.ant-table-wrapper .ant-table-thead > tr > th {
    color: #1a1c2a;
    font-weight: 400;
}

.ant-table-wrapper .ant-table-thead > tr:not(:last-child) > th[colspan] {
    border-bottom: 1px solid #d8dae2 !important;
}

.ant-table {
    color: #1a1c2a;
}

.ant-table-thead > tr > th,
.ant-table-tbody > tr > td {
    padding: 0 6px !important;
}

.ant-table-thead tr {
    height: 32px;
    background-color: transparent;
}

.ant-table-thead tr > th {
    font-size: 12px;
    color: #0f244d;
    border-color: #d8dae2 !important;
}
.ant-table-tbody tr > td {
    font-size: 12px;
    color: #515c73;
    border-color: #d8dae2 !important;
}
.ant-table.ant-table-bordered > .ant-table-container {
    border-color: #d8dae2;
}

.ant-table-wrapper .ant-table-container table > thead > tr:first-child > *:last-child {
    border-start-end-radius: 0px !important;
}

.ant-table-wrapper .ant-table-container table > thead > tr:first-child > *:first-child {
    border-start-start-radius: 0px !important;
}

.ant-table-tbody tr {
    height: 38px;
}

.ant-table-row-selected > td {
    background: #fef6eb !important;
}

.ant-table-title {
    padding: 0 !important;
}
.ant-table-thead tr th {
    vertical-align: middle;
}
.ant-table-tbody tr td {
    vertical-align: middle;
}
.ant-table.ant-table-bordered .ant-table-title {
    border: none;
}
.ant-table-row {
    background: #f7f8fa;
}
.ant-table-row-level-0 {
    background: #fff;
}
.ant-table-row-level-1 {
    background: #f7f8fa;
}
.ant-table-row-level-2 {
    background: #f7f8fa;
}

.ant-table-selection-column {
    width: 50px;
}

#header .ant-table-body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    &::-webkit-scrollbar {
        /* WebKit */
        width: 0;
        height: 0;
    }
}

.ant-modal-confirm .ant-modal-body {
    padding: 20px;

    .ant-btn {
        height: 26px;
        padding: 0px 15px;
        color: #0d2347;
        border-color: #e1e2e6;
        border-radius: 0;

        &:hover {
            color: #1777ff;
            border-color: #e1e2e6;
        }
    }
    .ant-btn-primary {
        background-color: #1777ff;
        border-color: #1777ff;
        color: white;

        &:hover {
            background-color: #0b66e6;
            border-color: #0b66e6;
            color: white;
        }
    }
}

.ant-table-wrapper .ant-table-pagination.ant-pagination {
    margin: 10px 0;
}

.ant-pagination {
    font-size: 12px;
    margin-top: 10px;
    color: #515c73;
}

.ant-select-single {
    height: 29px;

    .ant-select-selector {
        font-size: 12px;
        color: #000000;
    }
}

.ant-select-dropdown .ant-select-item {
    font-size: 12px;
    color: #000000;
}

.ant-pagination-options-size-changer.ant-select {
    color: #515c73;
}

.ant-pagination .ant-pagination-total-text {
    color: #000000;
}

.ant-pagination .ant-pagination-item {
    min-width: 29px;
    height: 29px;
}

.ant-pagination .ant-pagination-item-active {
    background: #ebf2ff;
    border-radius: 4px;
    border: 1px solid #b7c6df;
}

.ant-pagination .ant-pagination-item-active a {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.65);
}

.ant-select-outlined:not(.ant-select-customize-input) .ant-select-selector {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
}

.ant-calendar-picker-clear,
.ant-calendar-picker-icon {
    margin-top: -10px;
}
.ant-btn {
    height: 26px;
    color: #0d2347;
    border-radius: 2px;
    transition: none;

    &:hover {
        border-color: #1777ff;
        color: #1777ff;
    }
}
.ant-btn-primary {
    background-color: #1777ff;
    border-color: #1777ff;
    border-radius: 2px;
    color: white;

    &:hover {
        background-color: #0b66e6;
        border-color: #0b66e6;
        color: white !important;
    }
}
.ant-input-search-button {
    height: 26px;
}
.ant-input {
    height: 26px;
}
.ant-tabs-nav-wrap {
    z-index: 100;
}
.ant-tabs .ant-tabs-tab {
    font-size: 12px !important;
}

.ant-picker {
    height: 26px;
}
.ant-picker-cell-disabled::before {
    background: none;
}
.importConfirm {
    .ant-modal-body .ant-btn {
        border-color: #e1e4eb;
        color: #515c73;
    }
    .ant-modal-body .ant-btn-primary {
        color: #fb1b46;
        border-color: #fb1b46;
        background-color: #fff;
        &:hover {
            color: #fb1b46 !important;
            border-color: #fb1b46;
            background-color: #fff;
        }
    }
}

.react-resizable {
    position: relative;
    background-clip: padding-box;
}

.react-resizable:last-child::after {
    display: none;
}

.react-resizable-handle {
    position: absolute;
    width: 10px;
    height: 100%;
    bottom: 0;
    right: -5px;
    cursor: col-resize;
    z-index: 1;
}

.ant-table-selection-column .react-resizable-handle {
    cursor: default;
}

.ant-modal .ant-modal-content {
    border-radius: 0px;
}

.ant-table-wrapper .ant-table-summary > tr > td {
    font-size: 12px;
    color: #515c73;
    padding: 16px 6px !important;
    // border-top: 1px solid #d8dae2 !important;
    border-bottom: 1px solid #d8dae2 !important;

    &:first-child {
        border-left: 1px solid #d8dae2;
    }

    &:last-child {
        border-right: 1px solid #d8dae2;
    }
}

.ant-table-wrapper .ant-table-footer {
    font-size: 12px;
    color: #515c73;
}

.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode {
    padding-bottom: 8px;
    font-size: 12px !important;
    color: #414555 !important;
}

.ant-select-tree .ant-select-tree-treenode {
    align-items: flex-start;
    display: flex;
    outline: none;
    padding: 0 0 4px;
}

.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode {
    padding-bottom: 8px;
    font-size: 12px !important;
    color: #414555 !important;
}

.ant-select-tree .ant-select-tree-treenode {
    align-items: flex-start;
    display: flex;
    outline: none;
    padding: 0 0 4px;
}

.ant-btn-text:not(:disabled):not(.ant-btn-disabled):hover {
    background: transparent;
    border: none;
}

.ant-modal .ant-modal-header {
    height: 32px;
    background: #f3f2f7;
    margin-bottom: 20px;
}

.ant-modal .ant-modal-title {
    color: #1b1b2b;
    line-height: 32px;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}

.ant-modal .ant-modal-close {
    top: 0;
    right: 20px;
}

.css-dev-only-do-not-override-mzwlov.ant-input-outlined:focus-within {
    box-shadow: none;
    background: none;
}

.css-dev-only-do-not-override-mzwlov.ant-input-outlined:hover {
    box-shadow: none;
    background: none;
}

.css-dev-only-do-not-override-mzwlov.ant-table-wrapper tfoot > tr > td {
    padding: 16px 6px !important;
}

.ant-picker .ant-picker-input > input {
    font-size: 12px !important;
}

.ant-pagination {
    font-size: 12px !important;
}

.ant-select-single .ant-select-selector {
    font-size: 12px !important;
}

.ant-select-dropdown .ant-select-item {
    font-size: 12px !important;
}

.ant-select-multiple .ant-select-selection-overflow {
    flex: none !important;
}

.ant-input-outlined {
    border-radius: 2px !important;
}

.ant-select-single {
    height: 26px !important;
    border-radius: 2px !important;
}

.ant-picker-outlined {
    border-radius: 2px !important;
}

.ant-select-outlined:not(.ant-select-customize-input) .ant-select-selector {
    border-radius: 2px;
}

.ant-table-tbody > tr:hover:not(.ant-table-row-selected) > td {
    background-color: #eaf4f0 !important;
}

.ant-table-tbody > tr.ant-table-row-selected td {
    background-color: #d6e9f7;
}

.ant-menu-light.ant-menu-root.ant-menu-inline {
    border-right: 1px solid #d6d6d6 !important;
}

.ant-menu-light.ant-menu-inline .ant-menu-sub.ant-menu-inline {
    background: #ffffff !important;
}

.ant-menu-light .ant-menu-item-selected {
    color: #ffffff !important;
    background: #1876ff !important;
    border-radius: 4px;
    // margin-left: 15px !important;
    // margin-right: 15px !important;
    // width: calc(100% - 30px) !important;
}

.ant-menu-light .ant-menu-submenu-title {
    font-size: 14px !important;
}

.ant-menu-light .ant-menu-submenu-title .ant-menu-title-content {
    font-size: 12px !important;
}

.ant-menu-light .ant-menu-submenu-selected > .ant-menu-submenu-title {
    color: #1876ff !important;
}

.ant-menu-light.ant-menu-inline .ant-menu-item {
    // margin-left: 15px !important;
    // margin-right: 15px !important;
    // padding-left: 58px !important;
    // width: calc(100% - 30px) !important;
}

.ant-select-multiple .ant-select-selection-overflow .ant-select-selection-item {
    border-radius: 2px !important;
}

.ant-checkbox .ant-checkbox-inner {
    border-radius: 2px !important;
}

.ant-select-multiple {
    font-size: 12px !important;
}

.ant-select-multiple .ant-select-selector:after {
    margin: 0 !important;
}

.ant-select-multiple .ant-select-selector {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.ant-pagination .ant-pagination-item-active {
    border-color: #1777ff;
}

.ant-table-wrapper
    .ant-table.ant-table-bordered
    > .ant-table-container
    > .ant-table-content
    > table
    > tfoot
    > tr
    > td {
    border-right: 1px solid #d8dae2 !important;
}

.ant-input {
    font-size: 12px !important;
}

.ant-input-number .ant-input-number-input {
    font-size: 12px !important;
}

.ant-form-item .ant-form-item-label > label {
    font-size: 12px !important;
}

.ant-input-number {
    font-size: 12px !important;
}

.ant-checkbox-wrapper {
    font-size: 12px !important;
}

.ant-radio-wrapper {
    font-size: 12px !important;
}

.ant-input-number {
    border-radius: 2px !important;
}

.ant-table-measure-row {
    visibility: collapse;
}

.ant-modal .ant-modal-content {
    border-radius: 0 !important;
}

.ant-table-cell .ant-form-item-explain-error {
    font-size: 10px;
    z-index: 1;
    position: absolute;
    bottom: -2px;
}

.ant-table-tbody .ant-table-row-level-1 td {
    background-color: #fff;
}

.ant-menu-inline.ant-menu-root .ant-menu-item > .ant-menu-title-content {
    -ms-user-select: none; /*IE10*/
    -webkit-user-select: none; /*webkit浏览器*/
    user-select: none;
}

.ant-form-item .ant-form-item-explain {
    font-size: 12px;
}

.ant-table-wrapper .ant-table-row-expand-icon {
    border-radius: 2px;
}
